package com.mxx.common.netty.annotation;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @Auther: Mr. Zeng
 * @Date: 2020/6/29 11:16
 * @Description: websocket 请求方法注解
 */


@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Websocket {
    /**
     * 请求路径
     *
     * @return
     */
    String value();
}